<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" th:attr="content=${keywords}" />
<meta name="Description" th:attr="content=${description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title></title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link th:href="${ecs_css_path}" rel="stylesheet" type="text/css" />

<!-- auto replace start-->
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/user.js"></script>
<script type="text/javascript" src="/static/js/transport_jquery.js"></script>
<!-- auto replace end-->
</head>
<body>
<div th:replace="common/tpls/page_header_tpl::page_header"></div>

<div class="block block1">
  <div th:replace="common/tpls/ur_here_tpl::ur_here"></div>

<!--#登录界面 start-->
<!-- {if $action eq 'login'} -->
<div class="usBox clearfix">
  <div class="usBox_1 f_l">
    <div class="login_tab">
    <ul>
        <li class="active"><a href="user.html">用户登录</a></li>
        <li ><a href="user.html?act=register">用户注册</a></li>
    </ul>
    </div>
   <form name="formLogin" action="user.php" method="post" onSubmit="return userLogin()">
        <table width="100%" border="0" align="left" cellpadding="3" cellspacing="5">
          <tr>
            <td width="25%" align="right"></td>
            <td width="65%"><input name="username" type="text" size="25" class="inputBg" /></td>
          </tr>
          <tr>
            <td align="right"></td>
            <td>
            <input name="password" type="password" size="15"  class="inputBg"/>            </td>
          </tr>
          <!-- 判断是否启用验证码{if $enabled_captcha} -->
          <tr>
            <td align="right"></td>
            <td><input type="text" size="8" name="captcha" class="inputBg" />
            <img src="captcha.php?is_login=1&" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?is_login=1&'+Math.random()" /> </td>
          </tr>
          <!--{/if}-->
          <tr>
            <td> </td>
            <td><input type="checkbox" value="1" name="remember" id="remember" /><label for="remember"></label></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td align="left">
            <input type="hidden" name="act" value="act_login" />
            <input type="hidden" name="back_act" value="" />
            <input type="submit" name="submit" value="" class="us_Submit" />            </td>
          </tr>
	  <tr><td></td><td><a href="user.html?act=qpassword_name" class="f3"></a>&nbsp;&nbsp;&nbsp;<a href="user.html?act=get_password" class="f3"></a></td></tr>
      </table>
    </form>
    <div class="blank"></div>
  </div>
  
  <div class="usTxt">
  <div th:replace="common/tpls/goto_ecmoban_tpl::goto_ecmoban"></div>
   </div>
</div>
<!--{/if}-->
<!--#登录界面 end-->

<!--*会员注册界面 start-->
    <!--{if $action eq 'register'}-->
    <!-- {if $shop_reg_closed eq 1} -->
    <div class="usBox">
      <div class="usBox_2 clearfix">
        <div class="f1 f5" align="center"></div>
      </div>
    </div>
    <!-- {else} -->
    <!-- auto replace start-->
<script type="text/javascript" src="/static/js/utils.js"></script>
<!-- auto replace end-->
<div class="usBox">
   <div class="usBox_1 f_l">
    <div class="login_tab">
    <ul>
        <li  ><a href="user.html">用户登录</a></li>
        <li class="active"><a href="user.html?act=register">用户注册</a></li>
    </ul>
    </div>
    <form action="user.php" method="post" name="formUser" onsubmit="return register();">
      <table width="100%"  border="0" align="left" cellpadding="5" cellspacing="3">
        <tr>
          <td width="25%" align="right"></td>
          <td width="65%">
          <input name="username" type="text" size="25" id="username" onblur="is_registered(this.value);" class="inputBg"/>
            <span id="username_notice" style="color:#FF0000"> *</span>
          </td>
        </tr>
        <tr>
          <td align="right"></td>
          <td>
          <input name="email" type="text" size="25" id="email" onblur="checkEmail(this.value);"  class="inputBg"/>
            <span id="email_notice" style="color:#FF0000"> *</span>
          </td>
        </tr>
        <tr>
          <td align="right"></td>
          <td>
          <input name="password" type="password" id="password1" onblur="check_password(this.value);" onkeyup="checkIntensity(this.value)" class="inputBg" style="width:179px;" />
            <span style="color:#FF0000" id="password_notice"> *</span>
          </td>
        </tr>
        <tr>
          <td align="right"></td>
          <td>
            <table width="145" border="0" cellspacing="0" cellpadding="1">
              <tr align="center">
                <td width="33%" id="pwd_lower"></td>
                <td width="33%" id="pwd_middle"></td>
                <td width="33%" id="pwd_high"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td align="right"></td>
          <td>
          <input name="confirm_password" type="password" id="conform_password" onblur="check_conform_password(this.value);"  class="inputBg" style="width:179px;"/>
            <span style="color:#FF0000" id="conform_password_notice"> *</span>
          </td>
        </tr>
        <!-- {foreach from=$extend_info_list item=field} -->
	<!-- {if $field.id eq 6} -->
        <tr>
          <td align="right"></td>
          <td>
          <select name='sel_question'>
	  <option value='0'></option>
	  {html_options options=$passwd_questions}
	  </select>
          </td>
        </tr>
        <tr>
         <td align="right" <!-- {if $field.is_need} -->id="passwd_quesetion"<!--{/if}-->></td>
          <td>
	  <input name="passwd_answer" type="text" size="25" class="inputBg" maxlengt='20'/><!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
          </td>
        </tr>
	<!-- {else} -->
        <tr>
         
          <td align="right" <!-- {if $field.is_need} -->id="extend_fieldi"<!--{/if}-->>
          <td>
          <input name="extend_field" type="text" size="25" class="inputBg" /><!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
          </td>
        </tr>
	<!-- {/if} -->
	<!-- {/foreach} -->
      <!-- 判断是否启用验证码{if $enabled_captcha} -->
      <tr>
      <td align="right"></td>
      <td><input type="text" size="8" name="captcha" class="inputBg" />
      <img src="captcha.php?" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?'+Math.random()" /> </td>
      </tr>
      <!--{/if}-->
        <tr>
          <td>&nbsp;</td>
          <td><label>
            <input name="agreement" type="checkbox" value="1" checked="checked" />
            </label></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td align="left">
          <input name="act" type="hidden" value="act_register" >
          <input type="hidden" name="back_act" value="" />
          <input name="Submit" type="submit" value="" class="us_Submit_reg">
          </td>
        </tr>
        <tr>
          <td colspan="2">&nbsp;</td>
        </tr>
                 <tr>
                    <td bgcolor="#ffffff" colspan="2" align="center"><a href="user.html?act=qpassword_name" class="f6"></a>   <a href="user.html?act=get_password" class="f6"></a></td>
                  </tr>

      </table>
    </form>
  <div class="blank"></div>
  </div>
  <div class="usTxt">
   <div th:replace="common/tpls/goto_ecmoban_tpl::goto_ecmoban"></div>
   </div>
</div>
<!--{/if}-->
<!--{/if}-->
<!--#会员注册界面 end-->

<!--*找回密码界面 -->
    <!--{if $action eq 'get_password'} -->
    <!-- auto replace start-->
<script type="text/javascript" src="/static/js/utils.js"></script>
<!-- auto replace end-->
    <script type="text/javascript">
    {foreach from=$lang.password_js item=item key=key}
      var  = "";
    {/foreach}
    </script>
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post" name="getPassword" onsubmit="return submitPwdInfo();">
        <br />
        <table width="70%" border="0" align="center">
          <tr>
            <td colspan="2" align="center"><strong></strong></td>
          </tr>
          <tr>
            <td width="29%" align="right"></td>
            <td width="61%"><input name="user_name" type="text" size="30" class="inputBg" /></td>
          </tr>
          <tr>
            <td align="right"></td>
            <td><input name="email" type="text" size="30" class="inputBg" /></td>
          </tr>
          <tr>
            <td></td>
            <td><input type="hidden" name="act" value="send_pwd_email" />
              <input type="submit" name="submit" value="" class="bnt_blue" style="border:none;" />
              <input name="button" type="button" onclick="history.back()" value="" style="border:none;" class="bnt_blue_1" />
	    </td>
          </tr>
        </table>
        <br />
      </form>
  </div>
</div>
<!--{/if}-->

<!--*通过问题找回密码的确认找回账号界面 -->
    <!--{if $action eq 'qpassword_name'} -->
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post">
        <br />
        <table width="70%" border="0" align="center">
          <tr>
            <td colspan="2" align="center"><strong></strong></td>
          </tr>
          <tr>
            <td width="29%" align="right"></td>
            <td width="61%"><input name="user_name" type="text" size="30" class="inputBg" /></td>
          </tr>
          <tr>
            <td></td>
            <td><input type="hidden" name="act" value="get_passwd_question" />
              <input type="submit" name="submit" value="" class="bnt_blue" style="border:none;" />
              <input name="button" type="button" onclick="history.back()" value="" style="border:none;" class="bnt_blue_1" />
	    </td>
          </tr>
        </table>
        <br />
      </form>
  </div>
</div>
<!--{/if}-->

<!--*根据输入账号显示密码问题界面 -->
    <!--{if $action eq 'get_passwd_question'} -->
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post">
        <br />
        <table width="70%" border="0" align="center">
          <tr>
            <td colspan="2" align="center"><strong></strong></td>
          </tr>
          <tr>
            <td width="29%" align="right">：</td>
            <td width="61%"></td>
          </tr>
          <tr>
            <td align="right">：</td>
            <td><input name="passwd_answer" type="text" size="20" class="inputBg" /></td>
          </tr>          <!-- 判断是否启用验证码{if $enabled_captcha} -->
          <tr>
            <td align="right"></td>
            <td><input type="text" size="8" name="captcha" class="inputBg" />
            <img src="captcha.php?is_login=1&" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?is_login=1&'+Math.random()" /> </td>
          </tr>
          <!--{/if}-->
          
          <tr>
            <td> </td>
<td><input type="hidden" name="act" value="check_answer" />
              <input type="submit" name="submit" value="" class="bnt_blue" style="border:none;" />
              <input name="button" type="button" onclick="history.back()" value="" style="border:none;" class="bnt_blue_1" />
	    </td>
          </tr>
        </table>
        <br />
      </form>
  </div>
</div>
<!--{/if}-->

<!-- {if $action eq 'reset_password'} -->
    <script type="text/javascript">
    {foreach from=$lang.password_js item=item key=key}
      var  = "";
    {/foreach}
    </script>
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post" name="getPassword2" onSubmit="return submitPwd()">
      <br />
      <table width="50%" border="0" align="center">
        <tr>
          <td></td>
          <td><input name="new_password" type="password" size="25" class="inputBg" /></td>
        </tr>
        <tr>
          <td>:</td>
          <td><input name="confirm_password" type="password" size="25"  class="inputBg"/></td>
        </tr>
        <tr>
          <td colspan="2" align="center">
            <input type="hidden" name="act" value="act_edit_password" />
            <input type="hidden" name="uid" value="" />
            <input type="hidden" name="code" value="" />
            <input type="submit" name="submit" value="" />
          </td>
        </tr>
      </table>
      <br />
    </form>
  </div>
</div>

<!--{/if}-->
<!--#找回密码界面 end-->
</div>
<div class="blank"></div>
<div th:replace="common/tpls/page_footer_tpl::page_footer"></div>
</body>
<script type="text/javascript">
var process_request = "";
{foreach from=$lang.passport_js item=item key=key}
var  = "";
{/foreach}
var username_exist = "";
</script>
</html>
